import request from '@/utils/request'

// 查询过敏实验(皮试)确认列表 (分页)
export function selectPageAllergyTestingConfirm(query) {
  return request({
    url: '/business/allergyTestingConfirm/selectPage',
    method: 'get',
    params: query
  })
}

// 查询过敏实验(皮试)确认列表 (不分页)
export function listAllergyTestingConfirm(query) {
  return request({
    url: '/business/allergyTestingConfirm/list',
    method: 'get',
    params: query
  })
}

// 查询过敏实验(皮试)确认详细
export function getAllergyTestingConfirm(allergyTestingConfirmId) {
  return request({
    url: '/business/allergyTestingConfirm/' + allergyTestingConfirmId,
    method: 'get'
  })
}

// 新增过敏实验(皮试)确认
export function addAllergyTestingConfirm(data) {
  return request({
    url: '/business/allergyTestingConfirm',
    method: 'post',
    data: data
  })
}

// 修改过敏实验(皮试)确认
export function updateAllergyTestingConfirm(data) {
  return request({
    url: '/business/allergyTestingConfirm',
    method: 'put',
    data: data
  })
}

// 删除过敏实验(皮试)确认
export function delAllergyTestingConfirm(allergyTestingConfirmId) {
  return request({
    url: '/business/allergyTestingConfirm/' + allergyTestingConfirmId,
    method: 'delete'
  })
}
